package com.face.pay;

import com.face.pay.util.SimpleBeanUtil;

public class AliPayConfig {

    private Integer oemId;

    private String appid;

    private String oemType;


    private String aliProviderId;

    private String appKey;

    public String aliPublicKey;



    public Integer getOemId() {
        return oemId;
    }

    public void setOemId(Integer oemId) {
        this.oemId = oemId;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public AliPayConfig() {
    }

    public AliPayConfig(Integer oemId, String appid, String appKey) {
        this.oemId = oemId;
        this.appid = appid;
        this.appKey = appKey;
    }

    public Boolean validate(){
            return SimpleBeanUtil.allNotEmpity(this);
    }

    public String getAliPublicKey() {
        return aliPublicKey;
    }

    public void setAliPublicKey(String aliPublicKey) {
        this.aliPublicKey = aliPublicKey;
    }

    public String getAliProviderId() {
        return aliProviderId;
    }

    public void setAliProviderId(String aliProviderId) {
        this.aliProviderId = aliProviderId;
    }

    public String getOemType() {
        return oemType;
    }

    public void setOemType(String oemType) {
        this.oemType = oemType;
    }
}
